package Structural.Visitor.demo1;

/**
 * @author : yue.cao
 * @since : 2021-04-29
 */
public class VisitorDemo1 {
	public static void main(String[] args) {
		PersonalVisitor p = new PersonalVisitor();
		new Computer().accept(p);
		System.out.println(p.totalPrice);
	}
}
